-- GENERATED SPELL FOR [Vilebranch Hideskinner] --


function spell0_2644(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2644', 609, 1)
end

function Sorts_2644(pUnit, Event)
local choix_sorts_2644 = math.random(0, 0)
if choix_sorts_2644 == 0 then
pUnit:RegisterEvent('spell0_2644', 1, 1)
end
end

function mob2644_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2644', math.random(1500, 3000), 1)
end

function mob2644_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2644_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2644_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2644, 1, 'mob2644_Action')
RegisterUnitEvent(2644, 2, 'mob2644_Leave')
RegisterUnitEvent(2644, 3, 'mob2644_Kill')
RegisterUnitEvent(2644, 4, 'mob2644_Die')
